package com.jiangore;

import org.apache.cxf.helpers.DOMUtils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * @Todo
 * @Author jiangtao
 * @CreateBy 2020-03-15 9:05 PM
 * @UpdateBy jiangtao
 * @Version v1.0
 */
public class TestDocument {

    public static void main(String[] args) {
        Document doc = DOMUtils.createDocument();
        Element auth = doc.createElementNS("http://service.server.webService.web.boot.qm.com/","SecurityHeader");

        Element token = doc.createElement("token");
        token.setTextContent("abc123");

        auth.appendChild(token);


    }
}
